/*
 * @Date: 2020-11-27 13:23:59
 * @LastEditors: 小枫
 * @description: 邮件服务配置文件
 * @LastEditTime: 2020-11-27 13:49:30
 * @FilePath: \stu-nest\src\config\email.ts
 */
import { PugAdapter } from '@nestjs-modules/mailer/dist/adapters/pug.adapter';
import { join } from 'path';

export default {
  transport: 'smtps://1984779164@qq.com:qwwsvgcvmjuedhbj@smtp.qq.com',
  defaults: {
    from: '"nest-modules" <modules@nestjs.com>',
  },
  template: {
    dir: join(__dirname, '../template/email'),
    adapter: new PugAdapter(),
    options: {
      strict: true,
    },
  },
};
